<%@ page import="com.ecomm.util.DB,
com.ecomm.util.DBFactory,
com.pphome.orgmodel.pojo.*"%>
<%
//上下文路径

String ctxpath  = request.getContextPath();
UserInfo  userInfo =(UserInfo)session.getAttribute("userinfoSess");
String userid= null;
String username = null;
String userloginname = "";
String userorg = null;
if(userInfo==null) {
  out.println("<script language='javascript'>" );
  out.println("window.top.opener  =  null; window.top.close();" );
  out.println(" window.open(\""+request.getContextPath()+"/chat/login/index.jsp\",\"messIndex\", \"status=yes,resizable=yes,scrollbars=yes,toolbar=yes,WIDTH=760,HEIGHT=760\")" );
  out.println("</script>");
}else{
  userid=userInfo.getId();
  username =userInfo.getName();
  userloginname = userInfo.getLoginname();
}
%>
